package com.lz.water.monitor.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lz.water.monitor.entity.User;
import com.lz.water.monitor.mapper.UserMapper;

@Service
public class UserService {

	@Autowired
	private UserMapper userMapper;

	public User get(Integer id) {
		return userMapper.findById(id);
	}
}
